<?php defined('IN_DC') or exit('Access Denied'); ?>
  <div class="clear"></div>
  
  <!--- footer start --->  
  <div class="footer">
<?php if($file!='index') { ?>
    <p style="border-bottom:1px solid #fff;"><anchor title="back"><a href="javascript:history.back(1)"><<页面返回</a><prev/></anchor></p>
<?php } ?>
    <p><a href="index.php<?php echo $cityparamindex;?>">首页</a>&nbsp;|&nbsp;
    <a href="../wap/index.php?action=index<?php echo $cityparam;?>">简洁版</a>&nbsp;|&nbsp;
    <a href="http://m.legoule.com/">乐购乐</a>&nbsp;|&nbsp;

    <?php if($_SESSION["username"]) { ?>
        <?php echo $_SESSION['username'];?> | <a href="?file=logout&forward=<?php echo urlencode(URL);?><?php echo $cityparam;?>">退出</a>
    <?php } else { ?>
        <a href="?file=login&forward=<?php echo urlencode(URL);?><?php echo $cityparam;?>">登录</a>
    <?php } ?>

    </p>
    <p>Copyright&nbsp;2010&nbsp;m.legoule.com</p>
  </div>
  <!--- footer end --->
</body>
</html>